#include "Texture.hpp"

Texture::Texture():
    _path(""),
    _name(""),
    _loaded(false),
    _behaviour(TEXTURE_EXTEND),
    _id(0),
    _minFilter(GL_LINEAR),
    _magFilter(GL_LINEAR)
{
}

Texture::~Texture()
{
}

std::string const&  Texture::getPath() const
{
    return _path;
}

void                Texture::setPath(std::string const& path)
{
    _path = path;
}

std::string const&  Texture::getName() const
{
    return _name;
}

void                Texture::setName(std::string const& name)
{
    _name = name;
}

void                Texture::setFilter(const GLuint min, const GLuint mag)
{
    _minFilter = min;
    _magFilter = mag;
}

TextureBehaviour    Texture::getBehaviour() const
{
    return _behaviour;
}
void                Texture::setBehaviour(const TextureBehaviour behaviour)
{
    _behaviour = behaviour;
}
